package com.tucue.dao;

import com.tucue.model.User;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userid);

    List<User> selectAll();

    //更新用户
    int updateUser(User record);

    int updateByPrimaryKey(User record);

    //登陆验证
    User selectByEmail(String email);
}